//
//  MBProgressHUD+Alert.h
//  EasyToTesco2.0
//
//  Created by 杨森 on 16/6/30.
//  Copyright © 2016年 EasyToTesco. All rights reserved.
//

#import <MBProgressHUD/MBProgressHUD.h>

typedef void(^CompleteBlock)(id object);

@interface MBProgressHUD (Alert)

//dimBackground 当前view是否进入后台
//文本效果
+ (instancetype)showMessage:(NSString *)message toView:(UIView *)view dimBackground:(BOOL)dimBackground AndCompleteBlock:(CompleteBlock)completeBlock;

//正在加载数据
+ (instancetype)loadingInformationToView;

//中间菊花
+ (instancetype)show:(UIView *)view andMessage:(NSString *)text;


@end
